package com.kly.user.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.UserChatListEntity;

import java.util.List;

/**
* User: linqu
* Date: 2024-05-30
* Time: 16:36:11.750
*/

public interface UserChatListDao  extends BaseMapper<UserChatListEntity> {
    /**
     * 添加会话记录
     */
    Integer addChat(String chatterCode, String fromUserId, String toUserId,Integer sendTo);
    /**
     * 获取在线会话列表
     */
    List<UserChatListEntity> listOnlineUserChats(String chatterUserCode, String modelUserCode);
}